<table id="bindingdistributor_table" ref="BindingDistributor" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
		  	
		  
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' tdid="1" ref="id"   title="编号">
			 	编号
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"merchant")||fields=="*"||(!fields && true)}}' tdid="2" ref="merchant"   title="品牌商">
			 	品牌商
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"tbjName")||fields=="*"||(!fields && true)}}' tdid="3" ref="tbjName"   title="经销商名称">
			 	经销商名称
			 </td>
		 
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"name")||fields=="*"||(!fields && true)}}' tdid="4" ref="name"   title="配送商名称">
			 	配送商名称
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"locations")||fields=="*"||(!fields && true)}}' tdid="5" ref="locations"   title="所在地区">
			 	所在地区
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"bindingState")||fields=="*"||(!fields && true)}}' tdid="6" ref="bindingState"   title="绑定状态">
			 	绑定状态
			 </td>
		 
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && true)}}' tdid="7" ref="updateTime"   title="修改时间">
			 	修改时间
			 </td>
		 
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && true)}}' tdid="8" ref="addTime"   title="添加时间">
			 	添加时间
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' tdid="9" ref="status"   title="状态">
			 	状态
			 </td>
		 
		 
		 	
		 	
			
			
			
			<td  width="105"  class="operation" tdid="10" ref="operation">
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.id}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.id}}"/>
			</td>
			
		    
			 
				<td lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' ref="id" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.id$ || item.id}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"merchant")||fields=="*"||(!fields && true)}}' ref="merchant" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.merchant}}">
					 
					 
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/business/merchant.edit.html?key={{item.merchant}}')" href="javascript:void(0);">
					 	
					 
					 	{{item.merchant$ || item.merchant}}
					 </a> 
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"tbjName")||fields=="*"||(!fields && true)}}' ref="tbjName" class="inc {{index%2==0?'odd':'even'}}  ">
					 
					 
					 
					 
					 	{{item.tbjName$ || item.tbjName}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"name")||fields=="*"||(!fields && true)}}' ref="name" class="inc {{index%2==0?'odd':'even'}}  ">
					 
					 
					 
					 
					 	{{item.name$ || item.name}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"locations")||fields=="*"||(!fields && true)}}' ref="locations" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.locations}}">
					 
					 
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/setting/tbsecondcity.edit.html?key={{item.locations}}')" href="javascript:void(0);">
					 	
					 
					 	{{item.locations$ || item.locations}}
					 </a> 
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"bindingState")||fields=="*"||(!fields && true)}}' ref="bindingState" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.bindingState$ || item.bindingState}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && true)}}' ref="updateTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.updateTime$ || item.updateTime}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && true)}}' ref="addTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.addTime$ || item.addTime}}
					  
				</td>
		  
			 
				<td lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' ref="status" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.status$ || item.status}}
					  
				</td>
		  
		  
		  	
		  	
			
			
			
			<td class="operation {{index%2==0?'odd':'even'}}">
				
				<a lz:if="{{canEdit}}" onclick='navigate("/admin/business/bindingdistributor.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				
				
				<a lz:if="{{canView}}" class="inc-h" onclick='navigate("/admin/business/bindingdistributor.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>